package com.atguigu.spzx.manner.mapper;

import com.atguigu.spzx.model.dto.SysRoleDto;
import com.atguigu.spzx.model.entity.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface SysRoleMapper {



    List<SysRole> selectfindByPage(SysRoleDto sysRoleDto);

    void updateByPrimaryKeySelective(SysRole sysRole);

    void insertSysRole(SysRole sysRole);

    void deleteByPrimaryKey(@Param("id") Long id);

    List<SysRole> selectFindAllRoles();

    List<Long> selectFindAllRolesById(Integer id);
}
